package com.iconflux.training;
/**
 * 
 * @author jinkal
 *
 */
public class pyramid3 {
/**
 * 
 */
		public void draw3(){
		int i,j;
		for(i=0;i<5;i++)
	{
		if(i==1)
			continue;
		for(j=0;j<i;j++)
		{
			System.out.print(" ");
		}
		for(j=5-i;j>0;j--)
		{
			System.out.print(" * ");
		}
		System.out.println("");

	}
	for(i=0;i<5;i++)
	{
		if(i==3)
			continue;
		for(int k=4;k>i;k--)
		{
			System.out.print(" ");
		}
		for(j=0;j<=i;j++)
		{
			System.out.print(" * ");
		}
		System.out.print("\n");
	}
	}

	}

